﻿<%@ Page Language="C#"  EnableEventValidation="false" AutoEventWireup="true" CodeBehind="SelObjList.aspx.cs" Inherits="VitCode.Web.BaseData.SelObjList" %>

<%@ Register assembly="VitCode.Web.UI.PaginationGrid" namespace="VitCode.Web.UI" tagprefix="PaginationGrid" %>
<%@ Register assembly="VitCode.Web.UI.ConditionSelector" namespace="VitCode.Web.UI" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <base target="_self" />
	<script type="text/javascript" src="../ScriptFiles/JS/PageManage.js"></script>
	<script type="text/javascript" src="../ScriptFiles/JS/pageStyle.js"></script>
	<link href="../ScriptFiles/CSS/Main.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <table class="tableElse" width="100%">
	    <tr>
		    <td><asp:label id="Label1" runat="server">查詢條件：</asp:label><asp:dropdownlist id="ddlCondition" runat="server"></asp:dropdownlist>
		    <asp:textbox id="txtValue" runat="server" Width="136px"></asp:textbox>
		    <asp:radiobutton id="rbtAmount" runat="server" Text="匹配" GroupName="1"></asp:radiobutton>
		    <asp:radiobutton id="rbtLike" runat="server" Text="模糊" GroupName="1" Checked="True"></asp:radiobutton>
		    <asp:button id="btnQuery" runat="server" Text="查    詢" onclick="btnQuery_Click" class="btn_mouseout"
                    onmouseover="this.className= 'btn_mouseover' " onmouseout="this.className= 'btn_mouseout' "
                    onmousedown="this.className= 'btn_mousedown'" ></asp:button>
		        <cc1:ConditionSelector ID="ConditionSelector1" Runat="server" 
                    onselectcondition="ConditionSelector1_SelectCondition" 
                    FieldSourceGrid="pgList"  ButtonClassName="btn_mouseout" 
                    onmousedownjs="this.className= 'btn_mousedown'" 
                    onmouseoutjs="this.className= 'btn_mouseout'" 
                    onmouseoverjs="this.className= 'btn_mouseover'"/>
                <asp:button id="btnClear" runat="server" Text="關   閉" class="btn_mouseout"
                onmouseover="this.className= 'btn_mouseover' " onmouseout="this.className= 'btn_mouseout' "
                onmousedown="this.className= 'btn_mousedown'" onclick="btnClear_Click" ></asp:button>
		    </td>
	    </tr>
    </table>
    <table width="100%">
	    <tr>
		    <td>
                <PaginationGrid:PaginationGrid ID="pgList" Runat="server" 
                    onongriditemselect="pgList_OnGridItemSelect" DataFileFormat="Excel" 
                    ExportAllDataEnabled="False" ExportCurrentPageDataEnabled="False">
                </PaginationGrid:PaginationGrid>
            </td>
	    </tr>
    </table>
    </form>
</body>
</html>
